#include <string.h>
#include "pd_define.h"

PdIOComponent *pd_ioc_alloc()
{
    PdIOComponent *ret = malloc(sizeof(PdIOComponent));
    if (NULL != ret)
    {
        memset(ret, 0, sizeof(PdIOComponent));
    }
    return ret;
}

void pd_ioc_free(PdIOComponent *ioc)
{
    if (NULL != ioc)
    {
        free(ioc);
    }
}

